- ellipse
TiledRectangle ellipse()
Undocumented in source. Be warned that the author may not have intended to support it.
- line
int[4] line()
Undocumented in source. Be warned that the author may not have intended to support it.
- point
int[2] point()
Undocumented in source. Be warned that the author may not have intended to support it.
- polygon
int[2][] polygon()
Undocumented in source. Be warned that the author may not have intended to support it.
- rect
TiledRectangle rect()
Undocumented in source. Be warned that the author may not have intended to support it.
- text
const(TiledText) text()
Undocumented in source. Be warned that the author may not have intended to support it.
- tile
TiledRectangle tile()
Undocumented in source. Be warned that the author may not have intended to support it.
- triangle
int[2][3] triangle()
Undocumented in source. Be warned that the author may not have intended to support it.
A simple object which can mean absolutely anything inside a TileLayer. Usually used for implementing: - Camera Dead Zones - Event Systems - Trigger Areas
When wanting to get its following type, call either rect, ellipse, tile, point, line, triangle, polygon or text. Try to avoid calling text multiple times since it involves 3 associative array accesses.